<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" import="com.zmht.specedu.vo.Systemgroup,java.util.*"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<%
	/**
	 * @author 谭湘元
	 * @since 2009/04/23
	 */

 %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb18030" />
<title>聋校备课与语言学习及矫治系统</title>
<fmt:setBundle basename="PathResource" scope="session" />
<link href="<%=request.getContextPath() %>/<fmt:message key='StylePath' />style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=request.getContextPath() %>/<fmt:message key='jquery' />ajaxHelper.js"></script>
<script  language="javascript" type="text/javascript">
function LinkMain(url) {
	changemain();
	window.open(url,'mainFrame');
}
function toolbarOperate(url){
	if(parent.document.all.mains.cols!="186,*"){
		parent.document.all.mains.cols="186,*";
	    parent.document.all.FrameMain.rows="71,*,146";
	    document.getElementById("Image10").src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_01.gif";
	}

	window.open(url,'mainFrame');
}
function lgfunction(){  
	parent.window.close();
	var qminoa =window.open("systemAction.do?method=logoff","","toolbar=yes,menubar=yes,titlebar=yes,directories=yes,resizable=no,status=yes,fullscreen=no,top=0;left=0,width=1024,height=768");
	qminoa.moveTo(0,0);
	qminoa.resizeTo(screen.width,screen.height);
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function changemain(){  
   if(parent.document.all.mains.cols=="186,*")
   {
      parent.document.all.mains.cols="0,*";
      parent.document.all.FrameMain.rows="71,*,0";
      document.getElementById("Image10").src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_1.gif";
   }else{
      parent.document.all.mains.cols="186,*";
      parent.document.all.FrameMain.rows="71,*,146";
      document.getElementById("Image10").src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_01.gif";
   }
}
function lgfunction(){
	parent.location.replace("<%=request.getContextPath() %>/systemAction.do?method=logoff");
}
</script>
</head>
<c:if test="${current_group_key==2}"><!--教务管理  -->
<body class="style1" onload="MM_preloadImages('<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_1.gif')">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	  <tr>
	    <!--<td rowspan="3" background="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_011.gif">&nbsp;</td>-->
	    <td align="center" valign="bottom"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_03.gif" width="1003" height="16" /></td>
	    <td rowspan="3" background="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_011.gif">&nbsp;</td>
	  </tr>
	  <tr>
	    <td width="1003" align="center" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
	      <tr>
	        <td width="186" align="left" valign="middle"><a href="#" onfocus="this.blur()"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_01.gif" name="Image10" width="186" height="34" border="0" id="Image10" onclick="changemain()" /></a></td>
	        <td width="97" align="left" valign="middle"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_02.gif" width="97" height="34" /></td>
	        <td width="96" align="left" valign="middle"><a href="#" onclick="openWindow('password.jsp',500,205,true,'修改密码');" onfocus="this.blur()"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_04.gif" width="96" height="34" border="0" /></a></td>
	        <td width="95" align="left" valign="middle"><a href="#" onclick="openWindow('<%=request.getContextPath() %>/teacherAction.do?method=lookUserInfo&teacherId=${current_user_session_key.teacherId}',500,430,true,'用户信息');" onfocus="this.blur()"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_05.gif" width="95" height="34" border="0" /></a></td>
	        <td width="238" align="left" valign="middle"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_06.gif" width="238" height="34" /></td>
	        <td width="96" align="left" valign="middle"><a href="javascript:lgfunction()" onfocus="this.blur()"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_07.gif" width="96" height="34" border="0" /></a></td>
	        <td width="95" align="left" valign="middle"><a href="javascript:parent.window.close();" onfocus="this.blur()"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_08.gif" width="95" height="34" border="0" /></a></td>
	        <td width="100" align="left" valign="middle"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_010.gif" width="100" height="34" /></td>
	      </tr>
	    </table></td>
	  </tr>
	  <tr>
	    <td align="center" valign="top"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_09.gif" width="1003" height="21" /></td>
	  </tr>
	</table>
	</body>
</c:if>

<c:if test="${current_group_key==3}">
<body class="style1" onload="MM_preloadImages('<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_1.gif')">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <!--<td rowspan="3" background="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_011.gif">&nbsp;</td>-->
    <td align="center" valign="bottom"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jz_img/top_03.gif" width="1003" height="16" /></td>
    <td rowspan="3" background="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_011.gif">&nbsp;</td>
  </tr>
  <tr>
    <td width="1003" align="center" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="186" align="left" valign="middle"><a href="#"onfocus="this.blur()"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jw_img/top_01.gif" name="Image10" width="186" height="34" border="0" id="Image10" onclick="changemain()" /></a></td>
        <td width="97" align="left" valign="middle"><a href="#" onclick="toolbarOperate('<%=request.getContextPath() %>/teachPlan.do?method=queryTeachPlansForView')" onfocus="this.blur()"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jz_img/top_02.gif" width="97" height="34" border="0" /></a></td>
        <td width="96" align="left" valign="middle"><a href="#" onclick="toolbarOperate('<%=request.getContextPath() %>/evaluation.do?method=queryStudentEvaluationsForView')" onfocus="this.blur()"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jz_img/top_04.gif" width="96" height="34" border="0" /></a></td>
        <td width="95" align="left" valign="middle"><a href="#" onclick="toolbarOperate('<%=request.getContextPath() %>/studpinggu.do?method=listTeachTargets')" onfocus="this.blur()"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jz_img/top_05.gif" width="95" height="34" border="0" /></a></td>
        <td width="238" align="left" valign="middle"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jz_img/top_06.gif" width="238" height="34" /></td>
        <td width="96" align="left" valign="middle"><a href="#" onclick="openWindow('<%=request.getContextPath() %>/jsp/password.jsp',500,205,true,'修改密码');" onfocus="this.blur()"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jz_img/top_07.gif" width="96" height="34" border="0" /></a></td>
        <td width="95" align="left" valign="middle"><a href="javascript:lgfunction()" onfocus="this.blur()"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jz_img/top_08.gif" width="95" height="34" border="0" /></a></td>
        <td width="100" align="left" valign="middle"><a href="javascript:parent.window.close();" onfocus="this.blur()"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jz_img/top_010.gif" width="100" height="34" border="0" /></a></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td align="center" valign="top"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jz_img/top_09.gif" width="1003" height="21" /></td>
  </tr>
</table>
</body>

</c:if>



</html>
